package com.cnunicom.modules.tra.vo;

import com.cnunicom.modules.tra.entity.MemberEntity;
import com.cnunicom.modules.tra.entity.RecordEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Author: dingziyuan
 * @Date: 2020/1/29/029 21:49
 * @Description: 首页展示VO
 */
@Data
public class HomeVO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "总销售额")
    private BigDecimal totalSales;

    @ApiModelProperty(value = "月销售额")
    private BigDecimal monthlySales;

    @ApiModelProperty(value = "日销售额")
    private BigDecimal dailySales;

    @ApiModelProperty(value = "总会员数")
    private BigDecimal totalMembers;

    @ApiModelProperty(value = "销售额周同比")
    private BigDecimal weekRatio;

    @ApiModelProperty(value = "销售额日同比")
    private BigDecimal dayRatio;

    @ApiModelProperty(value = "日均销售额")
    private BigDecimal averageSales;

    @ApiModelProperty(value = "会员周同比")
    private BigDecimal divideOfWeek;

    @ApiModelProperty(value = "会员日同比")
    private BigDecimal divideOfDay;

    @ApiModelProperty(value = "日均注册会员数")
    private BigDecimal averageMember;

    @ApiModelProperty(value = "日销售额集合")
    private List<RecordEntity> dailySalesList;

    @ApiModelProperty(value = "日注册会员集合")
    private List<MemberEntity> dailyMemberList;

    @ApiModelProperty(value = "最近七天时间段")
    private List<String> period;
}
